package b4;

public class ShapeTest3 {
    static void f1(Shape s) {
        s.rotate();
        s.playSound();
    }

    public static void main(String[] args) {
        f1(new Shape());
        f1(new Triangle());
        f1(new Square());
        f1(new Amoeba());
    }
}
